﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DotaPick.Model;

namespace DotaPick
{
    public partial class MainForm : Form
    {
        ModelContext dbContext;
        public MainForm()
        {
            InitializeComponent();
            dbContext = new ModelContext();
            
            int HerosCount = dbContext.Heroes.Count();
            foreach (Hero hero in dbContext.Heroes)
            {
                listTeamPicks.Items.Add(hero.Name);
            }
        }
    }
}
